package org.dja.nzw.discovery.domain;

/**
 * Created by shuyun on 2016/7/15.
 */
public class Connector {
    /**
     * 协议
     */
    private String schema;
    /**
     * 端口
     */
    private int port;
    /**
     * 用途
     */
    private String usage;

    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsage() {
        return usage;
    }

    public void setUsage(String usage) {
        this.usage = usage;
    }

    @Override
    public String toString() {
        return "Connector{" +
                "schema='" + schema + '\'' +
                ", port=" + port +
                ", usage='" + usage + '\'' +
                '}';
    }
}
